home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / tag_bbs / tagtool2.zip / PREINST.BAT next >
DOS Batch File  |  1992-09-16  |  885b  |  26 lines

  1. @echo off
  2.  
  3. :
  4. : This Batch file SHOULD be executed before the UNZIP process
  5. : This is basically a cleanup process of old Xpress Files.
  6. :
  7. echo Deleting old files.... Ignore DOS errors or File Not Found messages
  8.  
  9.    for %%x in (*. misc\*.* help\*.* bull\*.*) do del %%x > nul
  10.    for %%x in (hst*.bat def*.bat compress.bat *.hlp) do del %%x > nul
  11.    for %%x in (expand.bat recrep.bat sendopx.bat) do del %%x > nul
  12.    for %%x in (xpcvt5.exe xpct6.exe *.110) do del %%x > nul
  13.    for %%x in (order.frm xpmenu.bbs) do del %%x > nul
  14.    for %%x in (*.prm xpcfg.exe xpuser.exe) do del %%x > nul
  15.  
  16. : Beta testers would have this stuff
  17.  
  18.    for %%x in (*.raw *.ctl) do del %%x > nul
  19.  
  20. : For TAG Sysops.. Make sure the file TAG2XPR.EXE exists in the Xpress
  21. : directory.. This portion will execute that file prior to completing
  22. : the Xpress setup
  23.  
  24. If exist TAG2XPR.EXE TAG2XPR
  25.  
  26.